type net/http.http2ClientConn
62 uses
net/http (current package)
h2_bundle.go#L750: GetClientConn(req *Request, addr string) (*http2ClientConn, error)
h2_bundle.go#L751: MarkDead(*http2ClientConn)
h2_bundle.go#L773: conns map[string][]*http2ClientConn // key is host:port
h2_bundle.go#L775: keys map[*http2ClientConn][]string
h2_bundle.go#L779: func (p *http2clientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L788: func (p *http2clientConnPool) getClientConn(req *Request, addr string, dialOnMiss bool) (*http2ClientConn, error) {
h2_bundle.go#L844: res *http2ClientConn // valid after done is closed
h2_bundle.go#L939: func (p *http2clientConnPool) addConnLocked(key string, cc *http2ClientConn) {
h2_bundle.go#L946: p.conns = make(map[string][]*http2ClientConn)
h2_bundle.go#L949: p.keys = make(map[*http2ClientConn][]string)
h2_bundle.go#L955: func (p *http2clientConnPool) MarkDead(cc *http2ClientConn) {
h2_bundle.go#L989: func http2filterOutClientConn(in []*http2ClientConn, exclude *http2ClientConn) []*http2ClientConn {
h2_bundle.go#L1009: func (p http2noDialClientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L7332: newclientconn func(*http2ClientConn)
h2_bundle.go#L7474: type http2ClientConn struct {
h2_bundle.go#L7534: cc *http2ClientConn
h2_bundle.go#L7835: func (t *http2Transport) dialClientConn(ctx context.Context, addr string, singleUse bool) (*http2ClientConn, error) {
h2_bundle.go#L7912: func (t *http2Transport) NewClientConn(c net.Conn) (*http2ClientConn, error) {
h2_bundle.go#L7916: func (t *http2Transport) newClientConn(c net.Conn, singleUse bool) (*http2ClientConn, error) {
h2_bundle.go#L7917: cc := &http2ClientConn{
h2_bundle.go#L8010: func (cc *http2ClientConn) healthCheck() {
h2_bundle.go#L8027: func (cc *http2ClientConn) SetDoNotReuse() {
h2_bundle.go#L8033: func (cc *http2ClientConn) setGoAway(f *http2GoAwayFrame) {
h2_bundle.go#L8073: func (cc *http2ClientConn) CanTakeNewRequest() bool {
h2_bundle.go#L8082: func (cc *http2ClientConn) ReserveNewRequest() bool {
h2_bundle.go#L8126: func (cc *http2ClientConn) State() http2ClientConnState {
h2_bundle.go#L8153: func (cc *http2ClientConn) idleState() http2clientConnIdleState {
h2_bundle.go#L8159: func (cc *http2ClientConn) idleStateLocked() (st http2clientConnIdleState) {
h2_bundle.go#L8181: func (cc *http2ClientConn) canTakeNewRequestLocked() bool {
h2_bundle.go#L8188: func (cc *http2ClientConn) tooIdleLocked() bool {
h2_bundle.go#L8202: func (cc *http2ClientConn) onIdleTimeout() {
h2_bundle.go#L8206: func (cc *http2ClientConn) closeConn() {
h2_bundle.go#L8214: func (cc *http2ClientConn) forceCloseConn() {
h2_bundle.go#L8224: func (cc *http2ClientConn) closeIfIdle() {
h2_bundle.go#L8241: func (cc *http2ClientConn) isDoNotReuseAndIdle() bool {
h2_bundle.go#L8250: func (cc *http2ClientConn) Shutdown(ctx context.Context) error {
h2_bundle.go#L8288: func (cc *http2ClientConn) sendGoAway() error {
h2_bundle.go#L8314: func (cc *http2ClientConn) closeForError(err error) {
h2_bundle.go#L8328: func (cc *http2ClientConn) Close() error {
h2_bundle.go#L8335: func (cc *http2ClientConn) closeForLostPing() {
h2_bundle.go#L8364: func (cc *http2ClientConn) responseHeaderTimeout() time.Duration {
h2_bundle.go#L8404: func (cc *http2ClientConn) decrStreamReservations() {
h2_bundle.go#L8410: func (cc *http2ClientConn) decrStreamReservationsLocked() {
h2_bundle.go#L8416: func (cc *http2ClientConn) RoundTrip(req *Request) (*Response, error) {
h2_bundle.go#L8420: func (cc *http2ClientConn) roundTrip(req *Request, streamf func(*http2clientStream)) (*Response, error) {
h2_bundle.go#L8810: func (cc *http2ClientConn) awaitOpenSlotForStreamLocked(cs *http2clientStream) error {
h2_bundle.go#L8832: func (cc *http2ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize int, hdrs []byte) error {
h2_bundle.go#L9107: func (cc *http2ClientConn) encodeHeaders(req *Request, addGzipHeader bool, trailers string, contentLength int64) ([]byte, error) {
h2_bundle.go#L9297: func (cc *http2ClientConn) encodeTrailers(trailer Header) ([]byte, error) {
h2_bundle.go#L9327: func (cc *http2ClientConn) writeHeader(name, value string) {
h2_bundle.go#L9341: func (cc *http2ClientConn) addStreamLocked(cs *http2clientStream) {
h2_bundle.go#L9353: func (cc *http2ClientConn) forgetStreamID(id uint32) {
h2_bundle.go#L9384: cc *http2ClientConn
h2_bundle.go#L9388: func (cc *http2ClientConn) readLoop() {
h2_bundle.go#L9462: func (cc *http2ClientConn) countReadFrameError(err error) {
h2_bundle.go#L10171: func (cc *http2ClientConn) Ping(ctx context.Context) error {
h2_bundle.go#L10248: func (cc *http2ClientConn) writeStreamReset(streamID uint32, code http2ErrCode, err error) {
h2_bundle.go#L10264: func (cc *http2ClientConn) logf(format string, args ...interface{}) {
h2_bundle.go#L10268: func (cc *http2ClientConn) vlogf(format string, args ...interface{}) {
h2_bundle.go#L10401: func http2traceGotConn(req *Request, cc *http2ClientConn, reused bool) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |